Q3Vector2D_Transform
You can use theQ3Vector2D_Transform
function to apply a transform to a two-dimensional vector.
TQ3Vector2D *Q3Vector2D_Transform ( const TQ3Vector2D *vector2D, const TQ3Matrix3x3 *matrix3x3, TQ3Vector2D *result);
vector2D
- A two-dimensional vector.
matrix3x3
- A 3-by-3 matrix.
result
- On exit, the vector that is the result of multiplying
vector2D
bymatrix3x3
.DESCRIPTION
TheQ3Vector2D_Transform
function returns, as its function result and in theresult
parameter, the vector that is the result of multiplying the vectorvector2D
by the matrix transformmatrix3x3
. Note that on entry theresult
parameter can be the same as thevector2D
parameter.